package com.ruoyi.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * Equipmentdistribution对象 equipmentdistribution
 * 
 * @author wjy
 * @date 2025-01-11
 */
public class Equipmentdistribution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备发放id */
    private Long distributionId;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String equipmentType;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备金额 */
    @Excel(name = "设备金额")
    private BigDecimal equipmentAmount;

    /** 设备发放日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "设备发放日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date distributionDate;

    /** 发放设备负责人 */
    @Excel(name = "发放设备负责人")
    private Long govEid;

    /** 落实情况 */
    @Excel(name = "落实情况")
    private String implementationStatus;

    /** 设备接收单位 */
    @Excel(name = "设备接收单位")
    private Long institutionId;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField1;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField2;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField3;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField4;

    public void setDistributionId(Long distributionId) 
    {
        this.distributionId = distributionId;
    }

    public Long getDistributionId() 
    {
        return distributionId;
    }
    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentAmount(BigDecimal equipmentAmount) 
    {
        this.equipmentAmount = equipmentAmount;
    }

    public BigDecimal getEquipmentAmount() 
    {
        return equipmentAmount;
    }
    public void setDistributionDate(Date distributionDate) 
    {
        this.distributionDate = distributionDate;
    }

    public Date getDistributionDate() 
    {
        return distributionDate;
    }
    public void setGovEid(Long govEid) 
    {
        this.govEid = govEid;
    }

    public Long getGovEid() 
    {
        return govEid;
    }
    public void setImplementationStatus(String implementationStatus) 
    {
        this.implementationStatus = implementationStatus;
    }

    public String getImplementationStatus() 
    {
        return implementationStatus;
    }
    public void setInstitutionId(Long institutionId) 
    {
        this.institutionId = institutionId;
    }

    public Long getInstitutionId() 
    {
        return institutionId;
    }
    public void setSpareField1(String spareField1) 
    {
        this.spareField1 = spareField1;
    }

    public String getSpareField1() 
    {
        return spareField1;
    }
    public void setSpareField2(String spareField2) 
    {
        this.spareField2 = spareField2;
    }

    public String getSpareField2() 
    {
        return spareField2;
    }
    public void setSpareField3(String spareField3) 
    {
        this.spareField3 = spareField3;
    }

    public String getSpareField3() 
    {
        return spareField3;
    }
    public void setSpareField4(String spareField4) 
    {
        this.spareField4 = spareField4;
    }

    public String getSpareField4() 
    {
        return spareField4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("distributionId", getDistributionId())
            .append("equipmentType", getEquipmentType())
            .append("equipmentName", getEquipmentName())
            .append("equipmentAmount", getEquipmentAmount())
            .append("distributionDate", getDistributionDate())
            .append("govEid", getGovEid())
            .append("implementationStatus", getImplementationStatus())
            .append("institutionId", getInstitutionId())
            .append("spareField1", getSpareField1())
            .append("spareField2", getSpareField2())
            .append("spareField3", getSpareField3())
            .append("spareField4", getSpareField4())
            .toString();
    }
}
